package com.tjs.lucky.infrastructure.mapper;

import com.tjs.lucky.infrastructure.po.Strategy;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author: 田佳澍
 * @Description:
 * @DateTime: 2023/5/16 11:18
 **/
@Mapper
public interface IStrategyMapper {

    /**
     * 查询策略配置
     *
     * @param strategyId 策略ID
     * @return 策略配置信息
     */
    Strategy queryStrategyById(Long strategyId);

    /**
     * 插入策略配置
     *
     * @param strategy 策略配置
     */
    void insert(Strategy strategy);


}
